package com.sky.his.api.db.dao;

import com.sky.his.api.db.pojo.DeptEntity;
import com.sky.his.api.db.pojo.UserEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author WangJiyou
 * @description 针对表【tb_dept(部门表)】的数据库操作Mapper
 * @createDate 2024-11-08 16:36:14
 * @Entity com.sky.his.api.db.pojo.DeptEntity
 */
public interface DeptDao {

    ArrayList<HashMap> searchAllDept();

    ArrayList<HashMap> searchByPage(Map param);

    long searchCount(Map param);

    int insert(DeptEntity dept);

    HashMap searchById(int deptId);

    int update(Map params);

    int deleteByIds(Integer[] ids);
}




